﻿@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:wght@400;500;600&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --white: #ffffff;
  --yellow: #f6cb00;
  --dark-blue: #1c42a0;
  --blue-light: #0ae2bb;
  --blue: #15c1f8;
  --orange: #e55e21;
  --red: #eb2c2c;
  --green: #6edb2b;
  --pink: #eb2c93;
  --purple: #b400d1;
  --gray-04: #cccbc8;
  --gray-07: #666564;
}

/************** RESETS **************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none !important;
  text-decoration: none !important	;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
}

.container {
  width: 100%;
  max-width: 157rem;
  margin: 0 auto;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body.ms-backgroundImage {
  background-image: url('/sites/biblioteca/Style Library/Univali/Biblioteca/assets/bg.png');
  position: relative;
}

button {
  cursor: pointer;
  background-color: transparent;
  margin-left: 0;
}

h2 {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 500;
  font-size: 5.4rem;
  color: #1a1a18;
  line-height: 9rem;
}

div.ms-webpartzone-cell {
  margin-bottom: 0 !important;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.4);
  transition: opacity 0.75s, visibility 0.75s;
}

.loading-hidden {
  opacity: 0;
  visibility: hidden;
}

#loading::after {
  content: '';
  width: 6rem;
  height: 6rem;
  border: 1rem solid var(--gray-04);
  border-top-color: var(--gray-07);
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

#mibew-agent-button {
  position: fixed;
  bottom: 2rem;
  right: 4rem;
}

/************** RESPONSIVO **************/
@media (max-width: 940px) {
  #WebPartWPQ6 {
    min-height: 200px !important;
  }

  #WebPartWPQ6 > iframe {
    min-height: 190px !important;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 4rem;
    line-height: 5rem;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 2.8rem;
    line-height: 3.3rem;
  }
}
